package org.example.demo01.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ComponentScan({"org.example.demo01.dao","org.example.demo01.service"})
@PropertySource("classpath:application.properties")
//引入Mybatis配置类
@Import({JdbcConfig.class,MybatisConfig.class})
public class SpringConfig {

}
